﻿function JumpPageInternalNews(GroupNewsItemId, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPageIndex, JumpJavaScript) {
    document.getElementById("divProcessing").innerHTML = Portal.WebParts.VBPQ.InternalNews.GetProcessingText().value;
    setTimeout("RealJumpPageInternalNews('" + GroupNewsItemId + "','" + CurrentPageIndex + "')", 10);
}

function RealJumpPageInternalNews(GroupNewsItemId, CurrentPageIndex) {
    GroupNewsId = document.getElementById("txtGroupNewsId").value;
    rValue = Portal.CMS.InternalNews.Search(GroupNewsId, GroupNewsItemId, CurrentPageIndex).value;
    document.getElementById("divFormResult").innerHTML = rValue;
    document.getElementById("divProcessing").innerHTML = "";
}